
<!doctype html>
<html>
<head>
	<meta charset="utf-8"/>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"><meta name="format-detection" content="telephone=no">
	<title>我的分账</title>
<link rel="stylesheet" href="${root}css/seedsui.min.css">
    
</head>

<body>
<div id="section_container">
	<section data-role="section" id="page_505" class="active">
		<header>
			<div class="titlebar">
            <a class="titlebar-button" href="${root}users/">
                <i class="icon icon-arrowleft"></i>
            </a>
            <h1 class="titlebar-title">我的分销</h1>
        	</div>
		</header>
		<article id="main_article" data-role="article" class="active" class="box box-middle box-center">
		
		<ul class="list ">
                <li class="list-li underline">
                    <div class="list-thumbnail">
                        <img data-load-src="" src="${www}${session.user.img!}" data-error-src="${root}images/wutu.jpg">
                    </div>
                    <div class="list-container">
                        <div class="list-title">
                           账户余额:${session.user.price!0}
                           <small class="list-font">
                              	当前可提金额:${price!0}
                            </small>
                        </div>
                        
                        <div class="list-row">
                        </div>
                    </div>
                    <button style="padding:0 8px;" id="yijian" class="button primary">一键提现</button>
                </li>
			<!--:for(o in obj!){  -->
                <li class="list-li underline noclick">
                    <div class="list-thumbnail">
                        <img style="width: 93px;height: 62px;" data-load-src="http://pic.qjimage.com/bjisub001/high/bji0130_0089.jpg" src="${www}${o.img!}"/>
                    </div>
                    <div class="list-container">
                        <div class="list-title list-font" style="color: black;">
                            ${o.title!}
                        </div>
                        <div class="row-flex box-middle">
                            <i class="list-icon icon-person color-primary"></i>
                            <p class="list-font">
                              	 <font style="color: #2196f3;">UID:${o.user_id!}</font>&nbsp;${o.user.nickname!}
                            </p>
                        </div>
                        <div class="row-flex box-middle">
                            <i class="list-icon icon-rdorem color-primary"></i>
                            <p class="list-font"><font style="color: #4caf50;">￥${o.price!}</font>&nbsp;分成:<font style="color: red;">￥${o.price*o.divide%100%bili,"#.##"}</font></p>
                        </div>
                        <div class="row-flex box-middle">
                            <i class="list-icon icon-computer color-primary"></i>
                            <p class="list-font">${decode(o.tbl_name,"course","课程","combo","套餐","其他")}
                            <small>${o.update_time,"yyyy-MM-dd HH:mm"}</small>
                            </p>
                        </div>
                    </div>
                    <!--:if(o.status==1){  -->
                    <button style="padding:0 8px;" onclick="alert('祝大家节日愉快，提现功能将在十一长假之后提供!');" class="button success">提现</button>
                    <!--:}else{  -->
                    <button class="button" style="padding:0 8px;" disabled>未付</button>
                    <!--:}  -->
                </li>
			<!--:}elsefor{-->
			<li>暂无销售记录</li>
			<!--:}  -->
			</ul>
			
		</article>
	</section>
</div>
<!--- third -->
	<script src="${root}assets/third/jquery/jquery-2.1.3.min.js"></script>
	<script type="text/javascript" src="${root}js/seedsui.min.js"></script>
	<script>
	var popConfirm=new Alert({
		title:"提示",
		html:"该操作会清空您的订单并将分成所得存入您的钱包!",
		onClickOk:function(e){
			alert('提现功能将在以后提供,你可以联系我们的电话010-82865508!');
			e.hide();
		},onClickCancel:function(e){
			e.hide();
		}
	});
	document.getElementById("yijian").onclick=function(){
		popConfirm.show();
    };
	</script>
</body>
</html>
